<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>start - radio</title>
</head>

<body>
    <script src="../../../dist/san.js"></script>
    <script>
    var MyApp = san.defineComponent({
        template: '<div>'
            + '<label><input type="radio" value="errorrik" checked="{= online =}" name="online">errorrik</label>'
            + '<label><input type="radio" value="otakustay" checked="{= online =}" name="online">otakustay</label>'
            + '<label><input type="radio" value="firede" checked="{= online =}" name="online">firede</label>'
            + '<br>{{online}}'
            + '</div>',

        initData: function () {
            return {
                online: 'errorrik'
            };
        }
    });

    var myApp = new MyApp();
    myApp.attach(document.body);
    </script>
</body>
</html>

